<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <!-- <div id="components-demo">
        <button-counter></button-counter>
        <button-counter></button-counter>
        <button-counter></button-counter>
        <button-counter></button-counter>
        <hr>
        <blog-post title="My journey with Vue"></blog-post>
    </div>
    <hr>
    <div id="blog-post-demo">
        {{test}}
        <blog-post v-for="post in posts" v-bind:key="post.id" v-bind:post="post"></blog-post>
    </div> -->

    <hr>
    <div id="blog-posts-events-demo">
        <div :style="{ fontSize: postFontSize + 'em' }">
            <blog-post v-on:enlarge-text="changeFontSize" v-for="item in posts" v-bind:key="item.id" v-bind:post1="item"></blog-post>
        </div>
    </div>

    <script src="../js/vue.js"></script>
    <script src="../js/index.js"></script>
</body>

</html>